package com.smart.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * 
 * @author Sunxin
 *
 */

@Entity 
@Table(name = "UserViewRecord") 
public class UserViewRecord extends BaseEntity<UserViewRecord>{
	private static final long serialVersionUID = 1L;
	
	@JsonSerialize(using = ToStringSerializer.class)
	private Long userId;
	
	@JsonSerialize(using = ToStringSerializer.class)
	private Long loanId;
	
	private String loanName;
	
	private String loanIcon;
	
	private String loanQuota;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getLoanId() {
		return loanId;
	}

	public void setLoanId(Long loanId) {
		this.loanId = loanId;
	}

	public String getLoanName() {
		return loanName;
	}

	public void setLoanName(String loanName) {
		this.loanName = loanName;
	}

	public String getLoanIcon() {
		return loanIcon;
	}

	public void setLoanIcon(String loanIcon) {
		this.loanIcon = loanIcon;
	}

	public String getLoanQuota() {
		return loanQuota;
	}

	public void setLoanQuota(String loanQuota) {
		this.loanQuota = loanQuota;
	}
	
}
